﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<SeaBattle.UI.Web.Models.LogOnModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Authorization</title>
    <link rel="Stylesheet" href="/Content/Site.css"/>
</head>
<body>
    <div id="logon-panel">
    <div id="logon-ship"></div>
    <p>Welcome, Cap!</p>
    <% using (Html.BeginForm())
       { %>
    <%: Html.ValidationSummary()%>
    <div class="input-label">
    <%: Html.LabelFor(x=>x.Login) %>
    </div>

    <div class="input-box">
    <%: Html.TextBoxFor(x=>x.Login) %>
    </div>

    <div class="input-label">
    <%: Html.LabelFor(x=>x.Password) %>
    </div>

    <div class="input-box">
    <%: Html.PasswordFor(x => x.Password)%>
    </div>

    <input type="submit" value="Enter the room"/>

    <% } %>
    
    </div>
</body>
</html>
